﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewEntryCompany.aspx.cs" Inherits="NewEntry" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Upplýsingar um einyrkja</title>
    <link rel="stylesheet" type="text/css" href="main.css" />
    
</head>
<body>
    <form id="form1" runat="server">
    <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
            <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" CausesValidation="False" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">
                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->
		 
		  <!-- Begin subHeader -->
		  <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">

            <table   style="width:100%;">
		        <tr>
		            <td>   
		                <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                         ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />
                       <asp:Label ID="_lblLogin" runat="server"  ForeColor="White" Text="Innskráning  - ">  </asp:Label>
                        <asp:LinkButton ID="_lbtnCompanyBookingSub" Font-Underline ="false" 
                            runat="server" ForeColor="White" 
                            onclick="_lbtnCompanyBookingSub_Click" CausesValidation="False">Heimasvæði -</asp:LinkButton>
                            <asp:LinkButton ID="_lbtnConfigSub" Font-Underline="false" runat="server" ForeColor="White" 
                            CausesValidation="False" onclick="_lbtnConfigSub_Click">Stillingar -</asp:LinkButton>
                            <asp:Label ID="_lblNewEntryCompany" runat="server"  ForeColor="White" Text="Nýskrá einyrkja" 
                            Font-Bold="True"></asp:Label>
                        <asp:Label ID="_lblChangeCompany" runat="server" Font-Bold="True" 
                            ForeColor="White" Text="Breyta einyrkja"></asp:Label>
                    </td>
                </tr>	         
            </table>
	     </div>
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"              
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
		 
	        <table   style="width:100%;">
		        <tr>
		            <td>
		                <asp:LinkButton ID="_lbtnCompany" runat="server" CausesValidation="False" 
                          ForeColor="White" onclick="_lbtnCompany_Click">Forsíða</asp:LinkButton>		 		        
		            </td>
                </tr>
		        <tr>
		            <td>
		                <asp:LinkButton ID="_lbtnCompanyBooking1" Font-Underline ="True" 
                            runat="server" ForeColor="White" 
                            onclick="_lbtnCompanyBooking1_Click" CausesValidation="False">Heimasvæði</asp:LinkButton>		                
		            </td>
                </tr>
                <tr>
		            <td>
		            &nbsp;		                
		            </td>
                </tr>
                <tr>
                     <td>
 		                <asp:LinkButton ID="_lbtnConfig" runat="server" 
                        CausesValidation="False" ForeColor="White" onclick="_lbtnConfig_Click">Stillingar</asp:LinkButton>		            
                     </td>
                </tr>
		        	         
            </table>
	 
		  </div>
		  <!-- End Left Column -->
		  
		  <!-- Begin Right Column -->
		 <div id="rightcolumn">
		       
	          <table style="width:100%;">
                  <tr>
                      <td width="140px">
                          <asp:Label ID="_lblCompanyName" runat="server" Text="Nafn:"></asp:Label>
                      </td>
                      <td width="100px">
                          <asp:TextBox ID="_txtCompanyName" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RequiredFieldValidator ID="_ValidatorCompanyName" runat="server" 
                              ControlToValidate="_txtCompanyName" Display="Dynamic" 
                              ErrorMessage="RequiredFieldValidator">Verður að skrá nafn</asp:RequiredFieldValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblNationalID" runat="server" Text="Kennitala:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtNationalID" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RequiredFieldValidator ID="ValidatorNationalID" runat="server" 
                              ControlToValidate="_txtNationalID" Display="Dynamic" 
                              ErrorMessage="RequiredFieldValidator">Verður að skrá kennitölu</asp:RequiredFieldValidator>
                          &nbsp;<asp:RegularExpressionValidator ID="ExpressionValidatorNationalId" 
                              runat="server" ControlToValidate="_txtNationalID" 
                              ErrorMessage="RegularExpressionValidator" ValidationExpression="\d{10}">t.d. 
                          0101019999</asp:RegularExpressionValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblEmail" runat="server" Text="Tölvupóstfang:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtEmail" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RegularExpressionValidator ID="ValidatorEmail" runat="server" 
                              ControlToValidate="_txtEmail" Display="Dynamic" 
                              ErrorMessage="RegularExpressionValidator" 
                              ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">t.d. 
                              jonas@ru.is</asp:RegularExpressionValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblPhoneNumber" runat="server" Text="GSM-Númer:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtPhoneNumber" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RequiredFieldValidator ID="ValidatorPhone" runat="server" 
                              ControlToValidate="_txtPhoneNumber" Display="Dynamic" 
                              ErrorMessage="RequiredFieldValidator">7 stafa símanúmer</asp:RequiredFieldValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblUsername" runat="server" Text="Veldu notendanafn:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtUsername" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RequiredFieldValidator ID="_FieldValidatorUsername" runat="server" 
                              ControlToValidate="_txtUsername" ErrorMessage="RequiredFieldValidator">Skráðu 
                          notendanafn</asp:RequiredFieldValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblPassword" runat="server" Text="Veldu lykilorð:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtPassword" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:RequiredFieldValidator ID="_FieldValidatorPassword" runat="server" 
                              ControlToValidate="_txtPassword" ErrorMessage="RequiredFieldValidator">Skráðu 
                          Lykilorð</asp:RequiredFieldValidator>
                          </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblConfirmPassword" runat="server" Text="Staðfesta lykilorð:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtConfrimPassword" runat="server" Width="200px"></asp:TextBox>
                      </td>
                      <td>
                          <asp:CompareValidator ID="_CompareValidatorPassword" runat="server" 
                              ControlToCompare="_txtConfrimPassword" ControlToValidate="_txtPassword" 
                              ErrorMessage="CompareValidator">Staðfestu lykilorð</asp:CompareValidator>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblFileUpload" runat="server" Text="Logo:"></asp:Label>
                      </td>
                      <td>
                          <asp:FileUpload ID="_txtPicture" runat="server"/>
                      </td>
                      
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblDescription" runat="server" Text="Lýsing:"></asp:Label>
                      </td>
                      <td>
                          <asp:TextBox ID="_txtDescription" runat="server" Width="200px" MaxLength="250" 
                              TextMode="MultiLine"></asp:TextBox>
                      </td>
                      
                  </tr>
                  <tr>
                      <td>
                          <asp:Label ID="_lblDelayTime" runat="server" Text="Biðtími áminninga:"></asp:Label>
                      </td>
                      <td>
                          <asp:DropDownList ID="_ddlDelayTime" runat="server" Width="45px">
                              <asp:ListItem>1</asp:ListItem>
                              <asp:ListItem>2</asp:ListItem>
                              <asp:ListItem>3</asp:ListItem>
                              <asp:ListItem>4</asp:ListItem>
                              <asp:ListItem>5</asp:ListItem>
                          </asp:DropDownList>
                          <asp:Label ID="_lblDagur" runat="server" Text="Dagur"></asp:Label>
                      </td>
                      
                  </tr>
                  <tr>
                      <td>
                      </td>
                      <td align="right">
                          <asp:Button ID="_btnNewCompany" runat="server" Text="Staðfesta" 
                              onclick="_btnNewCompany_Click" />
                      </td>
                      
                  </tr>
              </table>
		 
		 </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		    <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    </form>
</body>
</html>
